var cursor = appdb.getRootCollection().find();

var ars = new Array();
while(cursor.hasNext()) {
	var o = cursor.next();
	ars.push(o.get("ab"));

}

ars;